import 'package:equatable/equatable.dart';
import 'package:backend.purchases/infrastructure/dtos/api/web/api_web_bank_card_type_dto.dart';

const kApiWebBankCardInfoLast4Key = 'last_4';
const kApiWebBankCardInfoExpirationMonthKey = 'expiration_month';
const kApiWebBankCardInfoExpirationYearKey = 'expiration_year';
const kApiWebBankCardInfoCardTypeKey = 'card_type';

abstract class ApiWebBankCardInfoDto extends Equatable {
  String get last4;

  String get expirationMonth;

  String get expirationYear;

  ApiWebBankCardTypeDto get cardTypeDto;

  Map<String, dynamic> toJson();
}
